<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php use_helper('I18N') ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
    <?php include_stylesheets() ?>
    <?php include_javascripts() ?>
  </head>
  <body>
    <?php if ($sf_user->isAuthenticated()): ?>
   <div id="container">
     <div id="header">
       <div class="bac_index_logo">
       <img src="/css/images/Index_logo_02.jpg" />
       </div>
       <div class="mainNav">
         <ul>
           <a href="<?php echo url_for('@homepage') ?>"><li>站点概览</li></a>
           <a href="<?php echo url_for('@staticinfomation') ?>"><li>静态信息管理</li></a>
           <a href="<?php echo url_for('@dynamicinfomation') ?>"><li>动态信息管理</li></a>
           <a href="<?php echo url_for('@links') ?>"><li>友情链接管理</li></a>
         </ul>
       </div><!--End mainNav-->
       <div class="RightNav">
         <ul>
           <a href="#"><li>前台</li></a>
           <a href="<?php echo url_for('@sf_guard_signout') ?>"><li>注销</li></a>
           <a href="#"><li>使用帮助</li></a>
         </ul>
       </div>
     </div><!--End header-->
     <div id="top">
       <span>
       登录用户：<?php echo $sf_user->getUsername()?>｜
       身份：管理员
       </span>
     </div><!--End navSet-->
    <?php endif; ?>

<br/>
    <?php echo $sf_content ?>
   <?php if ($sf_user->isAuthenticated()): ?>
   </div>
    <?php endif; ?>
  </body>
</html>
